package com.alibaba.csp.sentinel.dashboard.rule.nacos;

import com.alibaba.csp.sentinel.dashboard.datasource.entity.rule.ParamFlowRuleEntity;

/**
 * 参数热点规则
 * ParamFlowRuleApolloService
 *
 * @author kancy
 * @date 2020/5/4 15:40
 */
public class ParamFlowRuleNacosService extends DynamicRuleNacosService<ParamFlowRuleEntity> {
    /**
     * 获取数据ID
     *
     * @param appName
     * @return
     */
    @Override
    protected String getDataId(String appName) {
        return String.format("%s%s", appName, getNacosProperties().getParamFlowDataIdSuffix());
    }
}
